﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebAppAsp_PrimerPrograma
{
    public partial class ejemplo : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void btnEnviar_Click(object sender, EventArgs e)
        {
            lbMensaje.Text = txtNombre.Text;
        }

        protected void Timer1_Tick(object sender, EventArgs e)
        {
            Random r = new Random();
            lbInicio.Text = (r.Next(1, 45)).ToString();
        }
    }
}